define(function(require) {
  // load third-party javascript libraries
  var $ = require('jquery'),
      _ = require('underscore'),
      Backbone = require('backbone'),
      d3 = require('d3');

  var GridData = Backbone.Model.extend({
  	defaults: { 
  		row: null,
  		col: null,
  		value: null
  	}
  	initialize: function() {
  		console.log('GridCell created');
  	}
  });

  var GridDataCollection = Backbone.Collection.extend({

  });

  // define view
  var HeatmapView = Backbone.View.extend({

    initialize: function(options) {
      var self = this;
      var rows = options.rows;
      var cols = options.cols;
      var data = new GridDataCollection;
    },

    render: function() {
      console.log('render heatmap');
    }

  });

});